package com.gitee.ipo.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gitee.ipo.system.entity.IpoDocInfo;
import com.gitee.ipo.system.entity.search.DocEntity;
import com.gitee.ipo.system.entity.search.IpoDocInfoSearch;
import com.gitee.ipo.system.entity.search.SearchRequest;
import org.apache.ibatis.annotations.Mapper;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

@Mapper
public interface IpoDocInfoService extends IService<IpoDocInfo> {

    List<IpoDocInfoSearch> getIpoDoc(SearchRequest searchRequest);

    IpoDocInfoSearch getIpoDocOne(String docId);

    void downloadFile(String downloadUrl, HttpServletResponse response, HttpServletRequest request);

    String saveIpoDoc();

}
